<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="none">
    <meta name="csrf-param" content="_csrf">
    <meta name="csrf-token" content="3sMwEiBuSBtUPVT6ZM0QN8MyAxN1UMpF6Pxeq7Repge3gnVqVhQbfW1tIYg-tVZ8sHx6XVgRrz26kBL69j_edQ==">
    <title>Form Generator</title>
    <link href="Form%20Generator_files/bootstrap.css" rel="stylesheet">
<link href="Form%20Generator_files/main.css" rel="stylesheet"></head>
<body>
    <div class="container-fluid page-container">
                <nav id="w0" class="navbar-inverse navbar-fixed-top navbar"><div class="container"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w0-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Findex"><img src="Form%20Generator_files/logo.png" alt=""></a></div><div id="w0-collapse" class="collapse navbar-collapse"><ul id="w1" class="nav navbar-nav navbar-right"><li><a href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Findex">Home</a></li>
<li><a href="http://www.yiiframework.com/doc-2.0/ext-gii-index.html">Help</a></li>
<li><a href="http://localhost/yii2base/basic/web/index.php">Application</a></li></ul></div></div></nav>        <div class="container content-container">
            <div class="row">
    <div class="col-md-3 col-sm-4">
        <div class="list-group">
            <a class="list-group-item" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=model"><i class="glyphicon glyphicon-chevron-right"></i>Model Generator</a><a class="list-group-item" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=crud"><i class="glyphicon glyphicon-chevron-right"></i>CRUD Generator</a><a class="list-group-item" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=controller"><i class="glyphicon glyphicon-chevron-right"></i>Controller Generator</a><a class="list-group-item active" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=form"><i class="glyphicon glyphicon-chevron-right"></i>Form Generator</a><a class="list-group-item" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=module"><i class="glyphicon glyphicon-chevron-right"></i>Module Generator</a><a class="list-group-item" href="http://localhost/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=extension"><i class="glyphicon glyphicon-chevron-right"></i>Extension Generator</a>        </div>
    </div>
    <div class="col-md-9 col-sm-8">
        <div class="default-view">
    <h1>Form Generator</h1>

    <p>This generator generates a view script file that displays a form to collect input for the specified model class.</p>

    <form id="form-generator" action="/yii2base/basic/web/index.php?r=gii%2Fdefault%2Fview&amp;id=form" method="post">
<input name="_csrf" value="3sMwEiBuSBtUPVT6ZM0QN8MyAxN1UMpF6Pxeq7Repge3gnVqVhQbfW1tIYg-tVZ8sHx6XVgRrz26kBL69j_edQ==" type="hidden">        <div class="row">
            <div class="col-lg-8 col-md-10" id="form-fields">
                <div class="form-group field-generator-viewname required">
<label class="control-label help" for="generator-viewname" data-original-title="" title="">View Name</label>
<input id="generator-viewname" class="form-control" name="Generator[viewName]" aria-required="true" type="text">
<div class="hint-block">This is the view name with respect to the view path. For example, <code>site/index</code> would generate a <code>site/index.php</code> view file under the view path.</div>
<div class="help-block"></div>
</div><div class="form-group field-generator-modelclass required">
<label class="control-label help" for="generator-modelclass" data-original-title="" title="">Model Class</label>
<input id="generator-modelclass" class="form-control" name="Generator[modelClass]" aria-required="true" type="text">
<div class="hint-block">This is the model class for collecting the form input. You should provide a fully qualified class name, e.g., <code>app\models\Post</code>.</div>
<div class="help-block"></div>
</div><div class="form-group sticky field-generator-scenarioname">
<label class="control-label help" for="generator-scenarioname" data-original-title="" title="">Scenario</label>
<div class="sticky-value">[empty]</div><input id="generator-scenarioname" class="form-control" name="Generator[scenarioName]" style="display: none;" type="text">
<div class="hint-block">This is the scenario to be used by the model when collecting the form input. If empty, the default scenario will be used.</div>
<div class="help-block"></div>
</div><div class="form-group sticky field-generator-viewpath required">
<label class="control-label help" for="generator-viewpath" data-original-title="" title="">View Path</label>
<div class="sticky-value">@app/views</div><input id="generator-viewpath" class="form-control" name="Generator[viewPath]" value="@app/views" aria-required="true" style="display: none;" type="text">
<div class="hint-block">This is the root view path to keep the generated view files. You may provide either a directory or a path alias, e.g., <code>@app/views</code>.</div>
<div class="help-block"></div>
</div><div class="form-group sticky field-generator-enablei18n">

<input name="Generator[enableI18N]" value="0" type="hidden"><label class="help" data-original-title="" title=""><input id="generator-enablei18n" name="Generator[enableI18N]" value="1" type="checkbox"> Enable I18N</label>
<div class="hint-block">This indicates whether the generator should generate strings using <code>Yii::t()</code> method.
                Set this to <code>true</code> if you are planning to make your application translatable.</div>
<div class="help-block"></div>
</div><div class="form-group sticky field-generator-messagecategory" style="display: none;">
<label class="control-label help" for="generator-messagecategory" data-original-title="" title="">Message Category</label>
<div class="sticky-value">app</div><input id="generator-messagecategory" class="form-control" name="Generator[messageCategory]" value="app" style="display: none;" type="text">
<div class="hint-block">This is the category used by <code>Yii::t()</code> in case you enable I18N.</div>
<div class="help-block"></div>
</div>                <div class="form-group sticky sticky field-generator-template required">
<label class="control-label help" for="generator-template" data-original-title="" title="">Code Template</label>
<div class="sticky-value">default (D:\wamp64\www\yii2base\basic\vendor\yiisoft\yii2-gii\generators\form/default)</div><select id="generator-template" class="form-control" name="Generator[template]" aria-required="true" style="display: none;">
<option value="default" selected="selected">default (D:\wamp64\www\yii2base\basic\vendor\yiisoft\yii2-gii\generators\form/default)</option>
</select>
<div class="hint-block">
                        Please select which set of the templates should be used to generated the code.
                </div>
<div class="help-block"></div>
</div>                <div class="form-group">
                    <button type="submit" class="btn btn-primary" name="preview">Preview</button>
                                    </div>
            </div>
        </div>

            </form></div>
    </div>
</div>
        </div>
        <div class="footer-fix"></div>
    </div>
    <footer class="footer">
        <div class="container">
            <p class="pull-left">A Product of <a href="http://www.yiisoft.com/">Yii Software LLC</a></p>
            <p class="pull-right">Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></p>
        </div>
    </footer>
<div><div id="yii-debug-toolbar" class="yii-debug-toolbar yii-debug-toolbar_position_bottom yii-debug-toolbar_active" style="display: block;">
    <div class="yii-debug-toolbar__bar">
        <div class="yii-debug-toolbar__block yii-debug-toolbar__title">
            <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Findex">
                <img alt="" src="" width="30" height="30">
            </a>
        </div>

        <div class="yii-debug-toolbar__block yii-debug-toolbar__ajax" style="display: none">
            AJAX <span class="yii-debug-toolbar__label yii-debug-toolbar__ajax_counter">0</span>
            <div class="yii-debug-toolbar__ajax_info">
                <table>
                    <thead>
                    <tr>
                        <th>Method</th>
                        <th>Status</th>
                        <th>URL</th>
                        <th>Time</th>
                        <th>Profile</th>
                    </tr>
                    </thead>
                    <tbody class="yii-debug-toolbar__ajax_requests"></tbody>
                </table>
            </div>
        </div>

                                    <div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=config&amp;tag=5a5c63d139f19">
        <span class="yii-debug-toolbar__label">2.0.13.1</span>
        PHP
        <span class="yii-debug-toolbar__label">7.0.23</span>
    </a>
</div>
                                                <div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=request&amp;tag=5a5c63d139f19" title="Status code: 200 OK">Status <span class="yii-debug-toolbar__label yii-debug-toolbar__label_success">200</span></a>
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=request&amp;tag=5a5c63d139f19" title="Action: yii\gii\controllers\DefaultController::actionView()">Route <span class="yii-debug-toolbar__label">gii/default/view</span></a>
</div>
                                                

<div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=log&amp;tag=5a5c63d139f19" title="Logged 13 messages">Log
        <span class="yii-debug-toolbar__label">13</span>
    </a>
        </div>
                                                <div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=profiling&amp;tag=5a5c63d139f19" title="Total request processing time was 272 ms">Time <span class="yii-debug-toolbar__label yii-debug-toolbar__label_info">272 ms</span></a>
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=profiling&amp;tag=5a5c63d139f19" title="Peak memory consumption">Memory <span class="yii-debug-toolbar__label yii-debug-toolbar__label_info">6.569 MB</span></a>
</div>
                                                                                                <div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=assets&amp;tag=5a5c63d139f19" title="Number of asset bundles loaded">Asset Bundles <span class="yii-debug-toolbar__label yii-debug-toolbar__label_info">8</span></a>
</div>
                                                                        
                                                                        <div class="yii-debug-toolbar__block">
    <a href="http://localhost/yii2base/basic/web/index.php?r=debug%2Fdefault%2Fview&amp;panel=user&amp;tag=5a5c63d139f19">
                    <span class="yii-debug-toolbar__label">Guest</span>
            </a>
</div>
                                                                    
        <div class="yii-debug-toolbar__block_last">

        </div>
        <a class="yii-debug-toolbar__external" href="#" target="_blank">
            <span class="yii-debug-toolbar__external-icon"></span>
        </a>

        <span class="yii-debug-toolbar__toggle">
            <span class="yii-debug-toolbar__toggle-icon"></span>
        </span>
    </div>

    <div class="yii-debug-toolbar__view">
        <iframe src="Form%20Generator_files/a.htm" frameborder="0"></iframe>
    </div>
</div>
</div><style>
#yii-debug-toolbar-logo {
    position: fixed;
    right: 31px;
    bottom: 4px;
}

@media print {
  .yii-debug-toolbar {
    display: none !important;
  }
}

.yii-debug-toolbar {
    font: 11px Verdana, Arial, sans-serif;
    text-align: left;
    width: 96px;
    transition: width .3s ease;
    z-index: 1000000;
}

.yii-debug-toolbar_active {
    width: 100%;
}

.yii-debug-toolbar_position_top {
    margin: 0 0 20px 0;
    width: 100%;
}

.yii-debug-toolbar_position_bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
}

.yii-debug-toolbar__bar {
    position: relative;
    padding: 0;
    font: 11px Verdana, Arial, sans-serif;
    text-align: left;
    overflow: hidden;
    box-sizing: content-box;

    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f7f7', GradientType=0); /* IE6-9 */

    border: 1px solid rgba(0, 0, 0, 0.11);

    /* ensure debug toolbar text is displayed ltr even on rtl pages */
    direction: ltr;
}

.yii-debug-toolbar.yii-debug-toolbar_active:not(.yii-debug-toolbar_animating) .yii-debug-toolbar__bar {
    overflow: visible;
}
.yii-debug-toolbar:not(.yii-debug-toolbar_active) .yii-debug-toolbar__bar,
.yii-debug-toolbar.yii-debug-toolbar_animating .yii-debug-toolbar__bar {
    height:40px;
}

.yii-debug-toolbar__bar:after {
    content: '';
    display: table;
    clear: both;
}

.yii-debug-toolbar__view {
    height: 0;
    overflow: hidden;
    background: white;
}

.yii-debug-toolbar__view iframe {
    margin: 0;
    padding: 0;
    padding-top: 10px;
    height: 100%;
    width: 100%;
    border: 0;
}

.yii-debug-toolbar_iframe_active .yii-debug-toolbar__view {
    height: 100%;
}

.yii-debug-toolbar_iframe_animating .yii-debug-toolbar__view {
    transition: height .3s ease;
}

.yii-debug-toolbar__block {
    float: left;
    margin: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.11);
    padding: 4px 8px;
    line-height: 32px;
    white-space: nowrap;
}

.yii-debug-toolbar__block_active,
.yii-debug-toolbar__ajax:hover {
    background: rgb(247, 247, 247); /* Old browsers */
    background: -moz-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e0e0e0', GradientType=0); /* IE6-9 */
}

.yii-debug-toolbar__block a {
    display: inline-block;
    text-decoration: none;
    color: black;
}

.yii-debug-toolbar__block img {
    vertical-align: middle;
}

.yii-debug-toolbar__label {
    display: inline-block;
    padding: 2px 4px;
    font-size: 12px;
    font-weight: normal;
    line-height: 14px;
    white-space: nowrap;
    vertical-align: baseline;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #999999;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

.yii-debug-toolbar__label:empty {
    display: none;
}

a.yii-debug-toolbar__label:hover,
a.yii-debug-toolbar__label:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.yii-debug-toolbar__label_important,
.yii-debug-toolbar__label_error {
    background-color: #b94a48;
}

.yii-debug-toolbar__label_important[href] {
    background-color: #953b39;
}

.yii-debug-toolbar__label_warning,
.yii-debug-toolbar__badge_warning {
    background-color: #f89406;
}

.yii-debug-toolbar__label_warning[href] {
    background-color: #c67605;
}

.yii-debug-toolbar__label_success {
    background-color: #468847;
}

.yii-debug-toolbar__label_success[href] {
    background-color: #356635;
}

.yii-debug-toolbar__label_info {
    background-color: #3a87ad;
}

.yii-debug-toolbar__label_info[href] {
    background-color: #2d6987;
}

.yii-debug-toolbar__label_inverse,
.yii-debug-toolbar__badge_inverse {
    background-color: #333333;
}

.yii-debug-toolbar__label_inverse[href],
.yii-debug-toolbar__badge_inverse[href] {
    background-color: #1a1a1a;
}

.yii-debug-toolbar__title {
    background: rgb(247, 247, 247); /* Old browsers */
    background: -moz-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e0e0e0', GradientType=0); /* IE6-9 */
}

.yii-debug-toolbar__block_last{ /* creates space for .yii-debug-toolbar__toggle, .yii-debug-toolbar__external */
    width: 80px;
    height: 40px;
    float: left;
}

.yii-debug-toolbar__toggle,
.yii-debug-toolbar__external {
    cursor: pointer;
    position: absolute;

    width: 30px;
    height: 30px;
    font-size: 25px;
    font-weight: 100;
    line-height: 28px;
    color: #ffffff;
    text-align: center;

    opacity: 0.5;
    filter: alpha(opacity=50);

    transition: opacity .3s ease;
}

.yii-debug-toolbar__toggle:hover,
.yii-debug-toolbar__toggle:focus,
.yii-debug-toolbar__external:hover,
.yii-debug-toolbar__external:focus {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    filter: alpha(opacity=90);
}

.yii-debug-toolbar__toggle-icon,
.yii-debug-toolbar__external-icon {
    display: inline-block;

    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.yii-debug-toolbar__toggle {
    right: 10px;
    bottom: 4px;
}

.yii-debug-toolbar__toggle-icon {
    padding: 7px 0;
    width: 10px;
    height: 16px;
    background-image: url('');
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.yii-debug-toolbar_active .yii-debug-toolbar__toggle-icon {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.yii-debug-toolbar_iframe_active .yii-debug-toolbar__toggle-icon {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.yii-debug-toolbar__external {
    display: none;
    right: 50px;
    bottom: 4px;
}

.yii-debug-toolbar_iframe_active .yii-debug-toolbar__external {
    display: block;
}

.yii-debug-toolbar__external-icon {
    padding: 8px 0;
    width: 14px;
    height: 14px;
    background-image: url('');
}

.yii-debug-toolbar__switch-icon {
    margin-left: 10px;
    padding: 5px 10px;
    width: 18px;
    height: 18px;
    background-image: url('');
}

.yii-debug-toolbar__ajax {
    position: relative;
}

.yii-debug-toolbar__ajax:hover .yii-debug-toolbar__ajax_info,
.yii-debug-toolbar__ajax:focus .yii-debug-toolbar__ajax_info {
    visibility: visible;
}
.yii-debug-toolbar__ajax_info {
    visibility: hidden;
    transition: visibility .2s linear;
    background-color: white;
    box-shadow: inset 0 -10px 10px -10px #e1e1e1;
    position: absolute;
    bottom: 40px;
    left: -1px;
    padding: 10px;
    max-width: 480px;
    max-height: 480px;
    word-wrap: break-word;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.11);
    z-index: 1000001;
}
.yii-debug-toolbar__ajax a {
    color: #337ab7;
}
.yii-debug-toolbar__ajax table {
    width: 100%;
    table-layout: auto;
    border-spacing: 0;
    border-collapse: collapse;
}
.yii-debug-toolbar__ajax table td {
    padding: 4px;
    font-size: 12px;
    line-height: normal;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.yii-debug-toolbar__ajax table th {
    padding: 4px;
    font-size: 11px;
    line-height: normal;
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}
.yii-debug-toolbar__ajax_request_status {
    color: white;
    padding: 2px 5px;
}
.yii-debug-toolbar__ajax_request_url {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
}
</style><script>(function () {
    'use strict';

    var findToolbar = function () {
            return document.querySelector('#yii-debug-toolbar');
        },
        ajax = function (url, settings) {
            var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
            settings = settings || {};
            xhr.open(settings.method || 'GET', url, true);
            xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
            xhr.setRequestHeader('Accept', 'text/html');
            xhr.onreadystatechange = function (state) {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200 && settings.success) {
                        settings.success(xhr);
                    } else if (xhr.status != 200 && settings.error) {
                        settings.error(xhr);
                    }
                }
            };
            xhr.send(settings.data || '');
        },
        url,
        div,
        toolbarEl = findToolbar(),
        toolbarAnimatingClass = 'yii-debug-toolbar_animating',
        barSelector = '.yii-debug-toolbar__bar',
        viewSelector = '.yii-debug-toolbar__view',
        blockSelector = '.yii-debug-toolbar__block',
        toggleSelector = '.yii-debug-toolbar__toggle',
        externalSelector = '.yii-debug-toolbar__external',

        CACHE_KEY = 'yii-debug-toolbar',
        ACTIVE_STATE = 'active',

        animationTime = 300,

        activeClass = 'yii-debug-toolbar_active',
        iframeActiveClass = 'yii-debug-toolbar_iframe_active',
        iframeAnimatingClass = 'yii-debug-toolbar_iframe_animating',
        titleClass = 'yii-debug-toolbar__title',
        blockClass = 'yii-debug-toolbar__block',
        blockActiveClass = 'yii-debug-toolbar__block_active',
        requestStack = [];

    if (toolbarEl) {
        url = toolbarEl.getAttribute('data-url');

        ajax(url, {
            success: function (xhr) {
                div = document.createElement('div');
                div.innerHTML = xhr.responseText;

                toolbarEl.parentNode && toolbarEl.parentNode.replaceChild(div, toolbarEl);

                showToolbar(findToolbar());
            },
            error: function (xhr) {
                toolbarEl.innerText = xhr.responseText;
            }
        });
    }

    function showToolbar(toolbarEl) {
        var barEl = toolbarEl.querySelector(barSelector),
            viewEl = toolbarEl.querySelector(viewSelector),
            toggleEl = toolbarEl.querySelector(toggleSelector),
            externalEl = toolbarEl.querySelector(externalSelector),
            blockEls = barEl.querySelectorAll(blockSelector),
            iframeEl = viewEl.querySelector('iframe'),
            iframeHeight = function () {
                return (window.innerHeight * 0.7) + 'px';
            },
            isIframeActive = function () {
                return toolbarEl.classList.contains(iframeActiveClass);
            },
            showIframe = function (href) {
                toolbarEl.classList.add(iframeAnimatingClass);
                toolbarEl.classList.add(iframeActiveClass);

                iframeEl.src = externalEl.href = href;
                viewEl.style.height = iframeHeight();
                setTimeout(function() {
                    toolbarEl.classList.remove(iframeAnimatingClass);
                }, animationTime);
            },
            hideIframe = function () {
                toolbarEl.classList.add(iframeAnimatingClass);
                toolbarEl.classList.remove(iframeActiveClass);
                removeActiveBlocksCls();

                externalEl.href = '#';
                viewEl.style.height = '';
                setTimeout(function() {
                    toolbarEl.classList.remove(iframeAnimatingClass);
                }, animationTime);
            },
            removeActiveBlocksCls = function () {
                [].forEach.call(blockEls, function (el) {
                    el.classList.remove(blockActiveClass);
                });
            },
            toggleToolbarClass = function (className) {
                toolbarEl.classList.add(toolbarAnimatingClass);
                if (toolbarEl.classList.contains(className)) {
                    toolbarEl.classList.remove(className);
                } else {
                    toolbarEl.classList.add(className);
                }
                setTimeout(function () {
                    toolbarEl.classList.remove(toolbarAnimatingClass);
                }, animationTime);
            },
            toggleStorageState = function (key, value) {
                if (window.localStorage) {
                    var item = localStorage.getItem(key);

                    if (item) {
                        localStorage.removeItem(key);
                    } else {
                        localStorage.setItem(key, value);
                    }
                }
            },
            restoreStorageState = function (key) {
                if (window.localStorage) {
                    return localStorage.getItem(key);
                }
            },
            togglePosition = function () {
                if (isIframeActive()) {
                    hideIframe();
                } else {
                    toggleToolbarClass(activeClass);
                    toggleStorageState(CACHE_KEY, ACTIVE_STATE);
                }
            };

        toolbarEl.style.display = 'block';

        if (restoreStorageState(CACHE_KEY) === ACTIVE_STATE) {
            toolbarEl.classList.add(activeClass);
        }

        window.onresize = function () {
            if (toolbarEl.classList.contains(iframeActiveClass)) {
                viewEl.style.height = iframeHeight();
            }
        };

        barEl.onclick = function (e) {
            var target = e.target,
                block = findAncestor(target, blockClass);

            if (block && !block.classList.contains(titleClass)
                && e.which !== 2 && !e.ctrlKey // not mouse wheel and not ctrl+click
            ) {
                while (target !== this) {
                    if (target.href) {
                        removeActiveBlocksCls();
                        block.classList.add(blockActiveClass);
                        showIframe(target.href);
                    }
                    target = target.parentNode;
                }

                e.preventDefault();
            }
        };

        toggleEl.onclick = togglePosition;
    }

    function findAncestor(el, cls) {
        while ((el = el.parentElement) && !el.classList.contains(cls));
        return el;
    }

    function renderAjaxRequests() {
        var requestCounter = document.getElementsByClassName('yii-debug-toolbar__ajax_counter');
        if (!requestCounter.length) {
            return;
        }
        var ajaxToolbarPanel = document.querySelector('.yii-debug-toolbar__ajax');
        var tbodies = document.getElementsByClassName('yii-debug-toolbar__ajax_requests');
        var state = 'ok';
        if (tbodies.length) {
            var tbody = tbodies[0];
            var rows = document.createDocumentFragment();
            if (requestStack.length) {
                var firstItem = requestStack.length > 20 ? requestStack.length - 20 : 0;
                for (var i = firstItem; i < requestStack.length; i++) {
                    var request = requestStack[i];
                    var row = document.createElement('tr');
                    rows.appendChild(row);

                    var methodCell = document.createElement('td');
                    methodCell.innerHTML = request.method;
                    row.appendChild(methodCell);

                    var statusCodeCell = document.createElement('td');
                    var statusCode = document.createElement('span');
                    if (request.statusCode < 300) {
                        statusCode.setAttribute('class', 'yii-debug-toolbar__ajax_request_status yii-debug-toolbar__label_success');
                    } else if (request.statusCode < 400) {
                        statusCode.setAttribute('class', 'yii-debug-toolbar__ajax_request_status yii-debug-toolbar__label_warning');
                    } else {
                        statusCode.setAttribute('class', 'yii-debug-toolbar__ajax_request_status yii-debug-toolbar__label_error');
                    }
                    statusCode.textContent = request.statusCode || '-';
                    statusCodeCell.appendChild(statusCode);
                    row.appendChild(statusCodeCell);

                    var pathCell = document.createElement('td');
                    pathCell.className = 'yii-debug-toolbar__ajax_request_url';
                    pathCell.innerHTML = request.url;
                    pathCell.setAttribute('title', request.url);
                    row.appendChild(pathCell);

                    var durationCell = document.createElement('td');
                    durationCell.className = 'yii-debug-toolbar__ajax_request_duration';
                    if (request.duration) {
                        durationCell.innerText = request.duration + " ms";
                    } else {
                        durationCell.innerText = '-';
                    }
                    row.appendChild(durationCell);
                    row.appendChild(document.createTextNode(' '));

                    var profilerCell = document.createElement('td');
                    if (request.profilerUrl) {
                        var profilerLink = document.createElement('a');
                        profilerLink.setAttribute('href', request.profilerUrl);
                        profilerLink.innerText = request.profile;
                        profilerCell.appendChild(profilerLink);
                    } else {
                        profilerCell.innerText = 'n/a';
                    }
                    row.appendChild(profilerCell);

                    if (request.error) {
                        if (state !== "loading" && i > requestStack.length - 4) {
                            state = 'error';
                        }
                    } else if (request.loading) {
                        state = 'loading'
                    }
                    row.className = 'yii-debug-toolbar__ajax_request';
                }
                while (tbody.firstChild) {
                    tbody.removeChild(tbody.firstChild);
                }
                tbody.appendChild(rows);
            }
            ajaxToolbarPanel.style.display = 'block';
        }
        requestCounter[0].innerText = requestStack.length;
        var className = 'yii-debug-toolbar__label yii-debug-toolbar__ajax_counter';
        if (state === 'ok') {
            className += ' yii-debug-toolbar__label_success';
        } else if (state === 'error') {
            className += ' yii-debug-toolbar__label_error';
        }
        requestCounter[0].className = className;
    };

    var proxied = XMLHttpRequest.prototype.open;

    XMLHttpRequest.prototype.open = function (method, url, async, user, pass) {
        var self = this;
        /* prevent logging AJAX calls to static and inline files, like templates */
        if (url.substr(0, 1) === '/' && !url.match(new RegExp("{{ excluded_ajax_paths }}"))) {
            var stackElement = {
                loading: true,
                error: false,
                url: url,
                method: method,
                start: new Date()
            };
            requestStack.push(stackElement);
            this.addEventListener("readystatechange", function () {
                if (self.readyState == 4) {
                    stackElement.duration = self.getResponseHeader("X-Debug-Duration") || new Date() - stackElement.start;
                    stackElement.loading = false;
                    stackElement.statusCode = self.status;
                    stackElement.error = self.status < 200 || self.status >= 400;
                    stackElement.profile = self.getResponseHeader("X-Debug-Tag");
                    stackElement.profilerUrl = self.getResponseHeader("X-Debug-Link");
                    renderAjaxRequests();
                }
            }, false);
            renderAjaxRequests();
        }
        proxied.apply(this, Array.prototype.slice.call(arguments));
    };

    // catch fetch AJAX requests
    if (window.fetch) {
        var originalFetch = window.fetch;

        window.fetch = function(input, init) {
            var method;
            var url;
            if (typeof input === "string") {
                method = (init && init.method) || 'GET';
                url = input;
            } else if (window.Request && input instanceof Request) {
                method = input.method;
                url = input.url;
            }
            var promise = originalFetch(input, init);

            /* prevent logging AJAX calls to static and inline files, like templates */
            if (url.substr(0, 1) === '/' && !url.match(new RegExp("{{ excluded_ajax_paths }}"))) {
                var stackElement = {
                    loading: true,
                    error: false,
                    url: url,
                    method: method,
                    start: new Date()
                };
                requestStack.push(stackElement);
                promise.then(function(response) {
                    stackElement.duration = response.headers.get("X-Debug-Duration") || new Date() - stackElement.start;
                    stackElement.loading = false;
                    stackElement.statusCode = response.status;
                    stackElement.error = response.status < 200 || response.status >= 400;
                    stackElement.profile = response.headers.get("X-Debug-Tag");
                    stackElement.profilerUrl = response.headers.get("X-Debug-Link");
                    renderAjaxRequests();

                    return response;
                }).catch(function(error) {
                    stackElement.loading = false;
                    stackElement.error = true;
                    renderAjaxRequests();

                    throw error;
                });
                renderAjaxRequests();
            }

            return promise;
        };
    }

})();</script><script src="Form%20Generator_files/jquery.js"></script>
<script src="Form%20Generator_files/yii_003.js"></script>
<script src="Form%20Generator_files/yii.js"></script>
<script src="Form%20Generator_files/yii_002.js"></script>
<script src="Form%20Generator_files/bootstrap.js"></script>
<script src="Form%20Generator_files/typeahead.js"></script>
<script src="Form%20Generator_files/gii.js"></script>
<script type="text/javascript">jQuery(function ($) {
jQuery('#form-generator').yiiActiveForm([{"id":"generator-viewname","name":"viewName","container":".field-generator-viewname","input":"#generator-viewname","validate":function (attribute, value, messages, deferred, $form) {value = yii.validation.trim($form, attribute, []);yii.validation.required(value, messages, {"message":"View Name cannot be blank."});yii.validation.regularExpression(value, messages, {"pattern":/^\w+[\-\/\w]*$/,"not":false,"message":"Only word characters, dashes and slashes are allowed.","skipOnEmpty":1});}},{"id":"generator-modelclass","name":"modelClass","container":".field-generator-modelclass","input":"#generator-modelclass","validate":function (attribute, value, messages, deferred, $form) {value = yii.validation.trim($form, attribute, []);yii.validation.required(value, messages, {"message":"Model Class cannot be blank."});yii.validation.regularExpression(value, messages, {"pattern":/^[\w\\]*$/,"not":false,"message":"Only word characters and backslashes are allowed.","skipOnEmpty":1});}},{"id":"generator-scenarioname","name":"scenarioName","container":".field-generator-scenarioname","input":"#generator-scenarioname","validate":function (attribute, value, messages, deferred, $form) {value = yii.validation.trim($form, attribute, []);yii.validation.regularExpression(value, messages, {"pattern":/^[\w\-]+$/,"not":false,"message":"Only word characters and dashes are allowed.","skipOnEmpty":1});}},{"id":"generator-viewpath","name":"viewPath","container":".field-generator-viewpath","input":"#generator-viewpath","validate":function (attribute, value, messages, deferred, $form) {value = yii.validation.trim($form, attribute, []);yii.validation.required(value, messages, {"message":"View Path cannot be blank."});yii.validation.regularExpression(value, messages, {"pattern":/^@?\w+[\-\/\w]*$/,"not":false,"message":"Only word characters, dashes, slashes and @ are allowed.","skipOnEmpty":1});}},{"id":"generator-enablei18n","name":"enableI18N","container":".field-generator-enablei18n","input":"#generator-enablei18n","validate":function (attribute, value, messages, deferred, $form) {yii.validation.boolean(value, messages, {"trueValue":"1","falseValue":"0","message":"Enable I18N must be either \"1\" or \"0\".","skipOnEmpty":1});}},{"id":"generator-template","name":"template","container":".field-generator-template","input":"#generator-template","validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"A code template must be selected."});}}], {"successCssClass":""});
});</script>

</body></html>